import Game
import XMLReader
from sys import argv

if (__name__ == '__main__'):

    if(len(argv) != 3):
	print "Usage:\n\tmain [xml] [xsd]"
	exit(1)

    print "Carregando Tabuleiro"
    board = XMLReader.Loader(argv[1], argv[2])

    print "Comeando Jogo"
    game = Game.Game([('Fabio','cartola'),('Guilherme','bengala'),('Walace','sapato')], board, argv[1], argv[2])
    game.start ()

